package example;

import java.sql.Timestamp;
import java.util.Date;

import com.asiainfo.commons.util.DateTimeUtil;
import com.asiainfo.ssm.execute.util.ExecInsUtil;

public class Test {

	public static void main(String[] args) throws Exception {
		Date execTime =  ExecInsUtil.getExecTimeByOrderStr("1^1^1^20160616083822");
		Date execTime2 = ExecInsUtil.getExecTimeByOrderStr("1^1^1^20160701003821");
		int dateBetween = DateTimeUtil.monthsBetween(execTime,execTime2 );
		System.out.println(dateBetween);
//		
 
	}

}
